package com.jinwei.qunguanjia.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户(后台) redis key
     */
    public static final String BACKEND_LOGIN_TOKEN_KEY = "jw_qunguanjia:backend_login_tokens:";

    /**
     * 登录用户名(后台) redis key
     */
    public static final String BACKEND_LOGIN_USER_NAME_KEY = "jw_qunguanjia:backend_login_user_name:";

    /**
     * 登录用户token(司机端) redis key
     */
    public static final String DRIVER_LOGIN_TOKEN_KEY = "jw_qunguanjia:driver_login_tokens:";

    /**
     * 登录用户名(司机端) redis key
     */
    public static final String DRIVER_LOGIN_USER_NAME_KEY = "jw_qunguanjia:driver_login_user_name:";

    /**
     * 登录用户token(工人端) redis key
     */
    public static final String WORKER_LOGIN_TOKEN_KEY = "jw_qunguanjia:worker_login_tokens:";

    /**
     * 登录用户名(工人端) redis key
     */
    public static final String WORKER_LOGIN_USER_NAME_KEY = "jw_qunguanjia:worker_login_user_name:";

    /**
     * 登录用户token(客户端) redis key
     */
    public static final String CUSTOMER_LOGIN_TOKEN_KEY = "jw_qunguanjia:customer_login_tokens:";

    /**
     * 登录用户名(客户端) redis key
     */
    public static final String CUSTOMER_LOGIN_USER_NAME_KEY = "jw_qunguanjia:customer_login_user_name:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "jw_qunguanjia:captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "jw_qunguanjia:sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "jw_qunguanjia:sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "jw_qunguanjia:repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "jw_qunguanjia:rate_limit:";

    /**
     * 租户 redis key
     */
    public static final String LOGIN_TENANT_KEY = "jw_qunguanjia:login_tenant:";
}
